home *** CD-ROM | disk | FTP | other *** search
/ Apple Service Source 1996 February / Service Source 2.0 1996 Companion.iso / Apple SW Updates / Macintosh / Utilities / UnmountIt readme < prev   
Encoding:
Text File  |  1994-12-12  |  4.8 KB  |  115 lines  |  [TEXT/MSWD]

  1.  
  2. UnmountIt (1.0)
  3.  
  4. Copyright (C) 1992-1993, Apple Computer, Inc.
  5. All Rights Reserved
  6. by Jim Luther, Apple Developer Technical Support
  7.  
  8. UnmountIt is free software and can be distributed freely by individuals.  For
  9. commercial distribution or bulletin board distribution please contact Apple
  10. Software Licensing.
  11.  
  12. UnmountIt is distributed "as is" and unsupported by Apple or the author. Please
  13. don't call Apple or the author for technical support on this program.
  14.  
  15. ********** What's it do? **********
  16.  
  17. UnmountIt lets you easily unmount and eject sharable volumes when Macintosh
  18. File Sharing is in use.  You can can use UnmountIt a couple of ways:
  19.  
  20. * You can simply leave it on your desktop or in an open folder.  Whenever you
  21. want to unmount a sharable volume, just drag the volume icons to UnmountIt
  22. instead of the Finder's Trash icon.  UnmountIt will launch, unmount and eject
  23. the volumes, and then UnmountIt will quit.
  24.  
  25. * You can launch UnmountIt and leave it running.  Whenever you want to unmount
  26. a sharable volume, either drag the volume icons to UnmountIt instead of the
  27. Finder's Trash icon or select "Unmount Volume..." from UnmountIt's File menu.
  28. UnmountIt will unmount the volumes and leave itself running.
  29.  
  30. Any mounted volume can be unmounted with UnmountIt and UnmountIt always
  31. attempts to do the right thing.  Unmount will:
  32.  
  33. *  turn off Macintosh File Sharing (if needed), unmount and eject the volume,
  34. and then turn Macintosh File Sharing back on (if it was on to begin with).
  35.  
  36. * warn you before turning off Macintosh File Sharing if any remote users are
  37. using the File Sharing file server.
  38.  
  39. * empty trash on AppleShare volumes before unmounting them.
  40.  
  41. * warn you before unmounting local non-ejectable volumes.
  42.  
  43. * not let you unmount the boot volume.
  44.  
  45. * not let you unmount a volume that has open files on it.
  46.  
  47. ********** Technical Background **********
  48.  
  49. When Macintosh File Sharing is turned on, it builds a list of sharable volumes
  50. by first enumerating the entire list of volumes with the Macintosh File
  51. Manager's PBHGetVInfo function and checking the volume's attributes with the
  52. PBHGetVolParms function. Each volume found is then checked for specific
  53. attributes which make it unsharable. The reasons a volume might be unsharable
  54. are:
  55.  
  56. * the volume is owned by the .Sony driver--that is, the volume is a 3.5" floppy
  57. disk.
  58.  
  59. * the volume is a remote AppleShare volume.
  60.  
  61. * the volume does not support the System 7 Desktop Manager.
  62.  
  63. * the volume cannot be prepared for use by Macintosh File Sharing. Macintosh
  64. File Sharing attempts to create, or verify if already created, the parallel
  65. directory structure (PDS) file which will be either in that volume's root
  66. directory or in the boot volume's "System Folder:Preference" folder if the
  67. volume is read-only (for example, in the case of a CD-ROM or locked removable
  68. disk cartridge). If the PDS file cannot be created, the volume is not sharable.
  69.  
  70. The first 10 volumes Macintosh File Sharing finds that are sharable are then
  71. shared for use by the Macintosh's owner remotely, even if they haven't been
  72. made share points. That brings up the following question: What's the difference
  73. between a sharable volume and a share point?
  74.  
  75. * A sharable volume is a volume that the Macintosh server owner can access
  76. remotely whenever Macintosh File Sharing is on. When looking at the file server
  77. from the Chooser, the server owner can see and mount any sharable volume. The
  78. server owner can always access the entire mounted sharable volume remotely.
  79.  
  80. * A share point is the root folder (it might or might not be the root directory
  81. of a volume) of an area the Macintosh server owner has made accessible to other
  82. users by checking the "Share this item and its contents" box in the Finder's
  83. Sharing dialog.  Macintosh File Sharing supports up to 10 share points per
  84. server.  Those 10 share points can be placed on any sharable volume.  All users
  85. except for the server owner see share points when they look at the file server
  86. from the Chooser.
  87.  
  88. When File Sharing is on, Macintosh File Sharing imposes a couple of
  89. restrictions on sharable volumes.  The volume names and share point folder
  90. names are locked, and the sharable volumes cannot be unmounted (even if no
  91. remote user has them mounted).  This is done because Macintosh File Sharing
  92. does not let the list of volumes change while a remote Macintosh has a shared
  93. volume mounted or while a remote Macintosh is looking at the list of volumes
  94. with the Chooser.  If you try to unmount a sharable volume by dragging it to
  95. the Trash while Macintosh File Sharing is on, you'll get the following message
  96. from the Finder: "The volume "VolumeName" could not be put away, because it is
  97. being shared."
  98.  
  99. The only way you can unmount a sharable volume is to turn Macintosh File
  100. Sharing off, unmount (and possible eject) the v
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. Posted to:
  108.  
  109.  
  110. Apple Support Area
  111. Apple Software Updates
  112. Utilities Folder
  113.  
  114.  
  115. 4-APR-94